﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ROToolBelt.IO.GRF
{
    public class GrfHeader
    {
        public const int GRF_HEADER_SIZE = 46;
        /// <summary>
        /// Master of Magic
        /// </summary>
        public string Signature { get; set; }
        /// <summary>
        /// Unknown
        /// </summary>
        public byte[] Crypt { get; set; }
        /// <summary>
        /// File table offset
        /// </summary>
        public int FileTableOffset { get; set; }
        /// <summary>
        /// Unknown
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// Numer of files
        /// </summary>
        public int NumberEntries { get; set; }
        /// <summary>
        /// GRF Version
        /// </summary>
        public GrfVersion Version { get; set; }
    }
}
